package com.sali.design_pattern.b_abstract_factory_pattern.lesson_03.factory.impl;

import com.sali.design_pattern.b_abstract_factory_pattern.lesson_03.factory.FurnitureFactory;
import com.sali.design_pattern.b_abstract_factory_pattern.lesson_03.product.Chair;
import com.sali.design_pattern.b_abstract_factory_pattern.lesson_03.product.Sofa;
import com.sali.design_pattern.b_abstract_factory_pattern.lesson_03.product.impl.ModernChair;
import com.sali.design_pattern.b_abstract_factory_pattern.lesson_03.product.impl.ModernSofa;

// 具体现代⻛格家居⼯⼚
public class ModernFurnitureFactory implements FurnitureFactory {
    @Override
    public Chair createChair() {
        return new ModernChair();
    }

    @Override
    public Sofa createSofa() {
        return new ModernSofa();
    }
}
